package me.jessyan.mvparms.demo.mvp.model.logic;

import android.content.Context;
import android.widget.ImageView;

import me.jessyan.mvparms.demo.mvp.model.Api;


/**
 * The author: Zhao X.H.
 * Creation time: 2018/3/8 ${time}
 */

public class GlideUtil {
    public static String ImageUrl = Api.APP_DOMAIN;//Api.APP_DOMAIN;
    public static void loadUrlImageByHot(Context mContext, String path, ImageView imageView){
        String subpath = "";
        if(TextUtil.isUrl(path)){
            subpath = path;
        }else {
            subpath = ImageUrl + path;
        }
//        GlideArms.with(mContext).load(subpath).placeholder(R.drawable.pracehodle).override(250, 250).centerCrop().into(imageView);
    }



}
